﻿namespace RestaurantMenu.Library
{
    public struct ProductQuantity
    {
        private Product product;
        private int quantity;

        public Product Product
        {
            get
            {
                return this.product;
            }
            set
            {
                this.product = value;
            }
        }

        public int Quantity
        {
            get
            {
                return this.quantity;
            }
            set
            {
                this.quantity = value;
            }
        }

        public ProductQuantity(Product product, int quantity)
            : this()
        {
            this.Product = product;
            this.Quantity = quantity;
        }
    }
}
